net/http.connectMethod.targetScheme (field)
8 uses
net/http (current package)
transport.go#L848: cm.targetScheme = treq.URL.Scheme
transport.go#L1663: case cm.targetScheme == "http":
transport.go#L1670: case cm.targetScheme == "https":
transport.go#L1756: if cm.proxyURL != nil && cm.targetScheme == "https" {
transport.go#L1827: targetScheme string // "http" or "https"
transport.go#L1840: if (cm.proxyURL.Scheme == "http" || cm.proxyURL.Scheme == "https") && cm.targetScheme == "http" {
transport.go#L1846: scheme: cm.targetScheme,
transport.go#L1857: return cm.targetScheme
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |